module rank {

    export class ScoreItem {
        public rankNb: number;
        public avatarUrl: string;
        public score: number;
        public nick: string;
        public openid: string;

        public constructor(openid: string, avatarUrl: string, score: number, rankNb: number, nick: string) {
            this.avatarUrl = avatarUrl;
            this.openid = openid;
            this.score = score;
            this.rankNb = rankNb;
            this.nick = nick;
        }
    }

}